package com.fengyun;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MainConfig {

	@Bean("user")
	public User user() {
		return new User();
	}

	@Bean("user2")
	public User user2(){
		return new User();
	}
}
